//
//  NSDictionary+Extension.h
//  Tools
//
//  Created by xlz on 2018/5/12.
//  Copyright © 2018年 com.365hy. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSDictionary (Extension)

/** 字典 转 json字符串 */
- (nullable NSString *)wd_toJsonString;
/** 把字典拼成url字符串 */
- (nullable NSString *)wd_toURLString;

@end

@interface NSMutableDictionary (Extension)

/** 给可变字典添加键值对 */
- (void)wd_setObject:(id)anObject forKey:(id<NSCopying>)aKey;

@end

NS_ASSUME_NONNULL_END
